package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- ONE PIECE ---
 *
 * @author yangjiangcheng
 * @date 2025/8/15
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student {
    /**
     * id
     * sname
     * age
     * sex
     * score
     * birthday
     */
    private Integer id;
    private String sname;
    private Integer age;
    private String sex;
    private Double score;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date birthday;
    private Integer cid;
}
